<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript">
$(document).ready(function(){

	$(".btn-slide").click(function(){
		$("#panel").slideToggle("slow");
		$(this).toggleClass("active"); return false;
	});


});
</script>
<style type="text/css">

#panel {
	background: #754c24;
	height: 200px;
	display: none;
}
.btn-slide {
	background: url(images/white-arrow.gif) no-repeat right -50px;
	text-align: center;
	width: 144px;
	height: 31px;
	padding: 10px 10px 0 0;
	margin: 0 auto;
	display: block;
	font: bold 120%/100% Arial, Helvetica, sans-serif;
	color: #fff;
	text-decoration: none;
}

</style>
<form action="<?php echo $_SERVER['PHP_SELF'];?>" method="get">

username: <input type="text" name="firstname" /><br />
password <input type="password" name="password" /><br />
Submit: <input type="submit" value="submit">
</form>
<div id="panel">
	hello <!-- y<!ou can put content here -->
</div>

<p class="slide"><a href="#" class="btn-slide">Slide Panel</a></p>


<?php

echo $_GET['firstname'];
echo "<br/>";
echo $_GET['password'];


?>


